package unimelb.discussiontracker.twitter.data.dao;

import java.util.List;

import unimelb.discussiontracker.twitter.common.QueryControl;
import unimelb.discussiontracker.twitter.data.entity.UserRanking;

public interface IUserRankingDao extends IDataAccessObject<UserRanking> {

    public UserRanking findByUserTopicAndIntervalId(long userId, long topicId, long intervalId);

    public long countKeywordBasedRankings(long topicId, long intervalId);

    public List<UserRanking> findKeywordBasedRankings(long topicId, long intervalId, QueryControl queryControl);

    public long countRankingsByTag(long tagId, long topicId, long intervalId);

    public List<UserRanking> findRankingsByTag(long tagId, long topicId, long intervalId, QueryControl queryControl);
    
}
